package test;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

public class aa {
    public static void main(String[] args) {
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy.MM.dd");
        LocalDate time1 = LocalDate.parse("2010.09.20", dateTimeFormatter);
        System.out.println(time1);
    }
}
